const view_login = Vue.extend({
    template: `<div>
    <button @click="login">登录</button>
    </div>`,
    methods: {
        login() {
            localStorage.setItem("loginuser", "Simba")
            this.$router.push('/msg')
        }
    },
})